package com.hl.service.serviceImpl;

import com.hl.domain.Consultproblem;
import com.hl.domain.ConsultproblemAndzixun;
import com.hl.mapper.ChargeMapper;
import com.hl.mapper.ConsultproblemMapper;
import com.hl.service.ConsultproblemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：王祖威
 * @Date ：2024/9/11 15:24
 */
@Service
public class ConsultproblemServiceImpl implements ConsultproblemService {
    @Autowired
    private ConsultproblemMapper consultproblemMapper;


    @Override
    public List<ConsultproblemAndzixun> findAll() {
        return consultproblemMapper.findAll();
    }

    @Override
    public List<Consultproblem> findlike(String name) {
        return consultproblemMapper.findlike(name);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return consultproblemMapper.deleteByPrimaryKey(id);
    }
}
